<%@ page import ="java.sql.*" %>
<HTML>
<HEAD>
<TITLE> </TITLE>
<script >
function call()
{

}
</script>
</HEAD>
<BODY background="img13.jpeg">

<center>
<BR><BR>
 
 <font size="+2" color="#FF5C0F"><h2><b>Multi Banking System</b>
 </h2></font>
<br>
 
<form  method=post action="usercheck.jsp" name="f" onSubmit='return call()'>
 <table>
 <tr>
 <td>
<tr>
<td><font color="#ff8000"><h3>Select Bank</h3></font></td><td>
<SELECT NAME="bname"> 
<% 
//Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
//	  Connection con=DriverManager.getConnection("jdbc:odbc:eti","eti","eti");%>
<%@include file="Connection.jsp" %>
<%
   PreparedStatement st=con.prepareStatement("select * from bank ");
	
	ResultSet rs=st.executeQuery();
	while(rs.next()){

%>


                  <option  ><b><%=rs.getString(2)%></b></option>
				  
<%}%>
  </SELECT></td></tr>
</table>
<br> <BR>
 <input type="submit" value="submit"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" name=back  value="back " onClick="window.location='login.jsp'">&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" name=back  value="Home " onClick="window.location='home.jsp'">

 </form>
<center><font color="#80ffff" style="background-color: rgb(255, 255, 128);"><a href="otherbanknewac.jsp"><font color="#ff8000"><h2>New User &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create Account</h2></font> </a></font>

<br><center><BR><BR>

</center>

</BODY>
</HTML>
